package com.ruoyi.indicators.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 指标管理对象 indicators
 * 
 * @author ruoyi
 * @date 2023-05-13
 */
public class Indicators extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 指标ID */
    private Integer indicatorsId;

    /** 指标名称 */
    @Excel(name = "指标名称")
    private String indicatorsName;

    /** 父节点 */
    @Excel(name = "父节点")
    private Integer father;

    /** 值 */
    @Excel(name = "值")
    private Double value;

    /** 权重 */
    @Excel(name = "权重")
    private Double weight;

    /** 算子 */
    @Excel(name = "算子")
    private String operator;

    /** 指标描述 */
    @Excel(name = "指标描述")
    private String indicatorsDesc;

    public void setIndicatorsId(Integer indicatorsId) 
    {
        this.indicatorsId = indicatorsId;
    }

    public Integer getIndicatorsId() 
    {
        return indicatorsId;
    }
    public void setIndicatorsName(String indicatorsName) 
    {
        this.indicatorsName = indicatorsName;
    }

    public String getIndicatorsName() 
    {
        return indicatorsName;
    }
    public void setFather(Integer father) 
    {
        this.father = father;
    }

    public Integer getFather() 
    {
        return father;
    }
    public void setValue(Double value) 
    {
        this.value = value;
    }

    public Double getValue() 
    {
        return value;
    }
    public void setWeight(Double weight) 
    {
        this.weight = weight;
    }

    public Double getWeight() 
    {
        return weight;
    }
    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }
    public void setIndicatorsDesc(String indicatorsDesc) 
    {
        this.indicatorsDesc = indicatorsDesc;
    }

    public String getIndicatorsDesc() 
    {
        return indicatorsDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("indicatorsId", getIndicatorsId())
            .append("indicatorsName", getIndicatorsName())
            .append("father", getFather())
            .append("value", getValue())
            .append("weight", getWeight())
            .append("operator", getOperator())
            .append("indicatorsDesc", getIndicatorsDesc())
            .toString();
    }
}
